/**
 * 判断字符串是否为空字符串
 *
 * @param {string} str 需要进行判断的字符串
 * @returns {str is ''} true 为空字符串，false 不为空字符串
 */
export const isEmpty = (str: string): str is '' => str.length === 0

export type IsEmptyStrType = typeof isEmpty
